package com.beikai.elasticsearch_demo.api;/**
 * Created with IntelliJ IDEA.
 * User: beikai
 * Date: 2020/1/7
 * Time: 14:13
 * Description:
 */
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @ClassName:
 * @Description:
 * @author liuxy
 * @date 2020/1/7 14:13
 */
@SpringBootApplication(scanBasePackages = "com.beikai.elasticsearch_demo")// 配置根目录扫描
@MapperScan("com.beikai.elasticsearch_demo.api.dao")   // 配置mapper 文件扫描
public class DemoApplicantion {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplicantion.class,args);
    }
}
